PHPR API (3.7.0)

Download OpenAPI specification:

PHPR API USING API-PLATFORM

project_tasks

Creates a project_tasks resource.

Creates a project_tasks resource.

Authorizations:
JWT
path Parameters
id
required
string

project_tasks identifier

Request Body schema:
required

The new project_tasks resource

completedTime
required
string
timesheets
Array of strings <iri-reference> [ items <iri-reference > ]
inventoryEntries
Array of strings <iri-reference> [ items <iri-reference > ]
bonis
Array of strings <iri-reference> [ items <iri-reference > ]
allowances
Array of strings <iri-reference> [ items <iri-reference > ]
schedules
Array of strings <iri-reference> [ items <iri-reference > ]
project
required
string <iri-reference>
productQuantity
integer or null
product
string or null <iri-reference>
sender
required
string <iri-reference>
receiver
required
string <iri-reference>
sector
required
string <iri-reference>
estimatedTime
required
string
cost
required
string or null
costDescription
string or null
priority
required
string <iri-reference>
status
required
string <iri-reference>
dateCreated
string <date-time>
rents
Array of strings <iri-reference> [ items <iri-reference > ]
dateStart
string or null <date-time>
deadline
required
string <date-time>
dateCompleted
string or null <date-time>
notes
string or null
parent
string or null <iri-reference>
children
Array of strings <iri-reference> [ items <iri-reference > ]

// MUST BE MAPPED IN ENTITY

owningCorporation
string <iri-reference>
duplicateOrigin
integer or null
object
deletedAt
string or null <date-time>
slug
required
string

DB Identifier

customProperties
any

Can contain anything (array, objects, nested objects...).

customData
Array of strings or null
createdAt
string <date-time>
updatedAt
string <date-time>
disabledAt
string or null <date-time>
object (Collection.jsonld)
upload_filename
string
upload_subfolder
string
upload_file
string
upload_file_link
string
root
integer or null

Get root.

lvl
integer

Get lvl.

lft
integer

Get lft.

rgt
integer

Get rgt.

apiTranslations
Array of strings
title
string or null
descriptionInternal
any
currentLocale
string or null

currentLocale is a non persisted field configured during postLoad event

defaultLocale
string
Default: "en"
location
string or null <iri-reference>
description
string or null
currentTitle
string or null
currentDescription
string or null
timestamp
string <date-time>

Get createdAt.

upload_Subfolder
string
upload_File
string
upload_File_Link
string

Responses

Request samples

Content type
{}

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "project": {
    },
  • "estimatedTime": "string",
  • "priority": {
    },
  • "status": {
    },
  • "dateStart": "2019-08-24T14:15:22Z",
  • "deadline": "2019-08-24T14:15:22Z",
  • "parent": { },
  • "shortcode": "T",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "slug": "string",
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "root": 0,
  • "lvl": 0,
  • "lft": 0,
  • "rgt": 0,
  • "title": "string",
  • "toString": "string",
  • "taskTotalTimeInHours": 0,
  • "timesheetsCount": null,
  • "description": "string",
  • "leaf": true,
  • "leafApi": true,
  • "levelApi": 0,
  • "translationTitlePropertyName": "string",
  • "translationDescriptionPropertyName": "string",
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}